/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  column: [
	  {
      label: '借款订单号',
      prop: 'id'
    },
	  {
      label: '账户名称',
      prop: 'accountId',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '借款方名称',
      prop: 'loanName'
    },
	  {
      label: '借款方电话',
      prop: 'loanPhone'
    },
	  {
      label: '借款人身份证',
      prop: 'loanCardNum',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '借款产品',
      prop: 'loanProductId',
      search:true,
      type: 'select',
      dicUrl: '/insurance/foreign/productDict',

    },
	  {
      label: '借款金额(元)',
      prop: 'loanAmount'
    },
	  {
      label: '借款时间',
      prop: 'loanTime'
    },
	  {
      label: '放款时间',
      prop: 'creditTime',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '.放款状态',
      prop: 'creditStatus',
      // hide:true,
    },
	  {
      label: '借款总利息(元)',
      prop: 'loanTotalInterest',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '借款期数',
      prop: 'loanPeriodsNum',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '资金方实际利率',
      prop: 'capitalRate',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '资金方实际利息(元)',
      prop: 'capitalInterest',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '接收还款的账号',
      prop: 'repayReceiverAccount'
    },
	  {
      label: '首付款状态',
      prop: 'firstPaymentStatus',
      hide:true,
      addDisplay:false,
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_firstPaymentStatus',
    },
	  {
      label: '首付款金额(元)',
      prop: 'firstPaymentAmount',
    },
	  {
      label: '首付款总金额(元)',
      prop: 'firstPaymentTotalAmount',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '借款模块',
      prop: 'loanModularId',
      // hide:true,
      addDisplay:false,
      type: 'select',
      dicUrl: '/insurance/foreign/modelIdDict',
    },
	  {
      label: '借款创建时间',
      prop: 'createTime',
      type:"datetime",
      valueFormat:"yyyy-MM-dd HH:mm:ss",
    },
    {
      label: '资管方借款审核状态',
      prop: 'informationManagementStatus',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_informationManagementStatus',
      hide:true,
      slot:true,
    },
    {
      label: '资金方借款初审状态',
      prop: 'loanStatus',
      type: 'select',
      dicUrl: '/admin/dict/type/insurancel_oanStatus',
      slot:true,
      // hide:true,
    },
    {
      label: '资金方借款复审状态',
      prop: 'loanRepeatStatus',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_loanRepeatStatus',
      slot:true,
      // hide:true,
    },
	  {
      label: '备注',
      prop: 'remarks',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '删除标记（0.显示   1.隐藏）',
      prop: 'delFlag',
      hide:true,
      addDisplay:false,
    },
  ]
}
